package orderoid.soap.classeCommune;

import java.io.Serializable;
import java.util.Collection;

public class Menu implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer idMenu;
    private String nom;
    private double montant;
    private String dateDebut;
    private String dateFin;
    private Double promotion;
    //private Collection<Produit> produitCollection;
    private Collection<Restaurant> restaurantCollection;

    public Collection<Restaurant> getRestaurantCollection() {
        return restaurantCollection;
    }

    public void setRestaurantCollection(Collection<Restaurant> restaurantCollection) {
        this.restaurantCollection = restaurantCollection;
    }

    public Menu() {
    }

    public Menu(Integer idMenu) {
        this.idMenu = idMenu;
    }

    public Menu(Integer idMenu, String nom, double montant, String dateDebut) {
        this.idMenu = idMenu;
        this.nom = nom;
        this.montant = montant;
        this.dateDebut = dateDebut;
    }

    public Integer getIdMenu() {
        return idMenu;
    }

    public void setIdMenu(Integer idMenu) {
        this.idMenu = idMenu;
    }

    public String getNom() {
        return nom;
    }

    public void setNom(String nom) {
        this.nom = nom;
    }

    public double getMontant() {
        return montant;
    }

    public void setMontant(double montant) {
        this.montant = montant;
    }

    public String getDateDebut() {
        return dateDebut;
    }

    public void setDateDebut(String dateDebut) {
        this.dateDebut = dateDebut;
    }

    public String getDateFin() {
        return dateFin;
    }

    public void setDateFin(String dateFin) {
        this.dateFin = dateFin;
    }

    public Double getPromotion() {
        return promotion;
    }

    public void setPromotion(Double promotion) {
        this.promotion = promotion;
    }
}
